package com.ruoyi.energy.entity;

import com.ruoyi.energy.aop.DoubleFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EnergyChildrenByTypeDto {

    @ApiModelProperty(name = "assetName", value = "资产名称")
    private String assetName;

    @ApiModelProperty(name = "assetCode", value = "资产code")
    private String assetCode;

    @ApiModelProperty(name = "parentAssetName", value = "父资产名称")
    private String parentAssetName;

    @ApiModelProperty(name = "parentAssetCode", value = "父资产code")
    private String parentAssetCode;

    @ApiModelProperty(name = "type", value = "类型")
    private Integer type;

    @DoubleFormat
    @ApiModelProperty(name = "price", value = "成本")
    private Double price;

    @DoubleFormat
    @ApiModelProperty(name = "value", value = "能耗")
    private Double value;

}
